<template>
  <div>
    <Phead />
    <Pmsg />
      <div class="personal-content w clearfix">
         <Pmy />

          <!-- 个人中心 > 消息中心 -->
          <div class="right message-conter">
              <h3 class="stamp">消息中心</h3>
              <ul class="change clearfix">
                  <li class="active">全部</li>
                 
              </ul>
              
              <div class="tabulation">
                  <!-- 个人中心 > 我的订单 > 成交 -->
                  <div class="ul1 item">
                      <ul>
                          <li v-for="(item,index) in notice">
                              <p>中标通知<em>{{item.add_time}}</em></p>
                              <span>{{item.content}}</span>
                          </li>
                          
                      </ul>
                      <!-- <div class="clearfix">
                          <div class="page">
                              <a href="" class="active">上一页</a>
                              <a href="">1</a>
                              <a href="">2</a>
                              <a href="">3</a>
                              <a href="">4</a>
                              <a href="">5</a>
                              <a href="">下一页</a>
                              <i>跳转到<input type="text">页</i>
                          </div>
                      </div> -->
                  </div>
                  <div class="ul2 null item">
                      <img src="@/assets/img/null-message.png" alt="">
                  </div>
                  <div class="ul3 null item">
                      <img src="@/assets/img/null-message.png" alt="">
                  </div>
              </div>


          </div>

        </div>
    <Pfoot />


  </div>


</template>
<script>

import Phead from '@/components/Phead.vue'
import Pfoot from '@/components/Pfoot.vue'
import Pmy from '@/components/Pmy.vue'
import Pmsg from '@/components/Pmsg.vue'

export default {
  name: 'home',
  data(){
    return{
        notice: '',

     }
  },
  async created(){
    let user_token = this.getUserToken()
    let re = await this.$axios.post('user/getNoticeList',{
        user_token:user_token
    })
    this.notice = re.data
    
  },
  mounted(){
            
  },
  components: {
    Phead,
    Pfoot,
    Pmy,
    Pmsg
  }
}
</script>